ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / TextAnalyzer1 Class / JustifyGlyphAdvances Method / JustifyGlyphAdvances(Single,Int32,JustificationOpportunity[],Single[],GlyphOffset[],Single[],GlyphOffset[]) Method

In This Topic
    JustifyGlyphAdvances(Single,Int32,JustificationOpportunity[],Single[],GlyphOffset[],Single[],GlyphOffset[]) Method
    In This Topic
    HRESULT IDWriteTextAnalyzer1::JustifyGlyphAdvances([In] float lineWidth,[In] unsigned int glyphCount,[In, Buffer] const DWRITE_JUSTIFICATION_OPPORTUNITY* justificationOpportunities,[In, Buffer] const float* glyphAdvances,[In, Buffer] const DWRITE_GLYPH_OFFSET* glyphOffsets,[Out, Buffer] float* justifiedGlyphAdvances,[Out, Buffer, Optional] DWRITE_GLYPH_OFFSET* justifiedGlyphOffsets)
    Syntax
    'Declaration
     
    Public Overloads Sub JustifyGlyphAdvances( _
       ByVal lineWidth As System.Single, _
       ByVal glyphCount As System.Integer, _
       ByVal justificationOpportunities() As JustificationOpportunity, _
       ByVal glyphAdvances() As System.Single, _
       ByVal glyphOffsets() As GlyphOffset, _
       ByVal justifiedGlyphAdvances() As System.Single, _
       ByVal justifiedGlyphOffsets() As GlyphOffset _
    ) 
    public void JustifyGlyphAdvances( 
       System.float lineWidth,
       System.int glyphCount,
       JustificationOpportunity[] justificationOpportunities,
       System.float[] glyphAdvances,
       GlyphOffset[] glyphOffsets,
       System.float[] justifiedGlyphAdvances,
       GlyphOffset[] justifiedGlyphOffsets
    )

    Parameters

    lineWidth
    glyphCount
    justificationOpportunities
    glyphAdvances
    glyphOffsets
    justifiedGlyphAdvances
    justifiedGlyphOffsets
    See Also